Guard when parsing queryString in RequestMessage; use logging msgs; optimize imports