[FIX] RESTXQ/XQuery, HTTP Requests: proper parsing of content-type. #799