Provide compile time and run time options for WebSocket URL and subproto...

Provide compile time and run time options for WebSocket URL and subprotocol fields.

Also fixes bug that meant Node.js WebSocket client didn't talk to Websockified servers properly.