replaced ":host" with ":authority".
Fixes #286