Modified to allow a binary or text request from the client to be
returned as binary or text.  For example, a text request can return
binary or text data.