[REST] fix headersonly flag for BINARY responses

I think the point of using HTTPReply with headersOnly=true here was to avoid an extra string copy.
You could use `HTTPReplyHeader(HTTP_OK, fRun, binaryBlock.size(), "application/octet-stream") << binaryBlock`