Proxy crashes when header "Host" is missing
Created by: SkeLLLa
.../lib/node_modules/http-proxy/lib/http-proxy/common.js:78
var res = req.headers.host.match(/:(\d+)/);
^
TypeError: Cannot call method 'match' of undefined
at Object.common.getPort (.../lib/node_modules/http-proxy/lib/http-proxy/common.js:78:30)
at Array.XHeaders [as 2] (.../lib/node_modules/http-proxy/lib/http-proxy/passes/web-incoming.js:68:21)
at ProxyServer.<anonymous> (.../lib/node_modules/http-proxy/lib/http-proxy/index.js:83:21)
at _.extend._tryHandleConnections