Produces a socket/stream to be used for HTTP requests.
Produces a socket/stream to be used for HTTP requests. By default, this function is the same as net.createConnection(). However, custom Agents may override this method in case greater flexibility is desired.
Agent Extensions