add host and protocol configs; make cons-url