Add means to specify port number for requests.