joyent/node — pull request #7683 by raymondfeng (2014-05-23 21:02:00+00:00)
Title: net: Ensure consistent binding to IPV6 if address is absent

See https://github.com/joyent/node/issues/7675:

net.server.listen() behaves inconsistently depending on whether the port
number is provided.

1. port === 0 && host == '' (i.e. false-y), node creates an AF_INET
socket but does not call bind().

2. port > 0 && host == '', node creates an AF_INET6 socket and calls
bind().

The fix makes 1 consistent with 2.