Pass the host/port in the constructor