MXR-126 fix always ends with / if there is no query in a request uri
MXR-127 fix checking of content type in server