Support non-standard http and https ports