fix websocket connect directly, #5