Fix TypeError: Cannot use 'in' operator to search for 'systemd' in 3000

Custom net.Server.prototype.listen method crashes when numeric port is passed to it.