Re: #137 - Adding one more check to make sure we don't write any additional data (except a close frame) to the socket after a close frame has been sent or received.
Instrumenting WebSocketConnection.prototype.sendCloseFrame() with another debug call
Merge pull request #151 from Worlize/epipe-fix

Prevent the WebSocket connection from trying to write enqueued frames to the socket if the connection is closed or closing.