Added support for sending queryParams with the initial connection handshake