qmd: added domain routing feature

each domain can have it's own section with host and port
qmd: updated docs with per-domain routing info