Uri encode the server name.