Fix broken connection with non-80 port servers.