onOpen is now private
Rename onOpen into onWebSocketOpen
onWebSocketClose is now private
onWebSocketMessage is now private
onWebSocketError is now private