Remove some options

Unify protocol and hosts at just one config option: endpoint.