Cache server hostname

To prevent needing to lookup the hostname for each exception reported