Fix issue with hostname being truncated in webserver::request