Forward networking error events to the websocket event listeners.

Handshake failures from HTTP were being fired as errors while connection errors failed to show up. Dispatch network failure events (like connection refused, etc.)