Shorthost should return full IP addresses

Using filter_var to simply return the hostname if it is an IP address.