fixing bug 1284

Hi Chris,

In this IF statement, should we not take into account that 443 is the default *only* for https URLs? (thus when PROTO == 'https'?)

Regards,

Erik.