Adding host/port to cgminer api