Fixed IProtocolClient.Uri bug when using upper case hostname