change websocket server path generation