onOpen is invoked after the WebSocket is initialized and onOpen/onClose now receive a scalawebsocket.WebSocket rather than the underlying ning WebSocket.