Fix bug where https requests were being sent with port:80 option which would end up in a OpenSSH error.