Support hook on existing websocket server

just support pass websocket server to binaryjs server