support for ports > 65535 in urls by &0xffffing the port