in reply to Why does HTTP::Request change the port I specify?

That's not how you specify the port. See RFC 1738, section 3.3, "HTTP".

An HTTP URL takes the form:
http://<host>:<port>/<path>?<searchpart>