The query string must be appended to the path in its original url encoded form

The query string must be appended to the path in its original url encoded form. It was required to make the library work with SignalR which uses query string to establish connection.