Added error handeling for no WAN connection and/or bad hostname