Remove port information in host string