fixes node's WebSocketClient onclose

the close event does not have an error parameter

fixes #58