[REST] fix headersonly flag for BINARY responses

Okay. That makes sense.