From http://stackoverflow.com/questions/5705082/is-serverserver-addr-safe-to-rely-on