Update socket.getfqdn to properly handle empty string and 0.0.0.0