Allow alternate websocket implementations