Add method to get the host without the port