On OSX net.Listen() fails when port=. Fixed to explicitly pass 0 for port.