added query string option so clients can send query string params in thier handshake