support hook on existing websocket server
merge sequoiar #30