adapting to changed http-proxy API (proxySocket is now emitted)
0.3.0