Add debugging info for hostname and region in networking errors

References #145