Second fix for HTTPCLIENT-1296.  Include Oleg's suggestions as to a better way to obtain a port from the non-existent target.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1431285 13f79535-47bb-0310-9956-ffa450edef68