websocket_ready callback return value decides whether to enter read loop, or close connection