RESTRequest: Adjust doExecute to accomodate for binary data containing \r\n\r\n. Fixes #35908