Allow URL with query and no path in client connections (fixes https://github.com/einaros/ws/issues/386)