RoyBellingan - 2012-08-21

Just rewrite line
957
and
792

as if(!empty($this->port)  && $this->port!=80 )