Added compatibility for PORTS to HTTP