Add basic active host support

Currently not possible to unset active host. Will perhaps fix itself
with a "default" host.