Add Socket.getaddrinfo specs for nil arguments
Accept nil parameters in Socket.getaddrinfo (fixes #2381)