allow websocket urls with slashes; fixes #2610