Fix for issue #387 websocket proxy not work in node.js version 0.10.0

The headers in the 'handshake' event were not written to the socket, the client received data but not the headers.

https://github.com/nodejitsu/node-http-proxy/issues/387