joyent/node — pull request #7142 by tjfontaine (2014-02-18 01:35:34+00:00)
Title: net: add localPort to connect options

Expose localPort for binding to a specific port for outbound
connections.

If localAddress is not specified '0.0.0.0' is used for ip4 and '::'
for ip6 connections.

Fixes #7092