This method connects with the server on the machine and port specified in the $req object. If a $proxy is given, it will translate the request into an appropriate proxy-request and return the new URL in the $fullpath argument.
$socket is either an IO::Socket object (in parallel mode), or a LWP::Socket object (when used via Std. non-parallel modules, such as LWP::UserAgent)