When request a url over https in a non-standar port the
header port missed port
here is the patch for 1.01 version:
** line 912 **
$headers = "Host: ".$this->host;
$headers = "Host: ".$this->host.":".$this->port;
This work for me.
Hope this will be useful.