added constructor for host format ip:port