Hostnames must have one dot, can;t be localhost, and can have optional port