Added support for array responses.  I'd like a better way to handle memory management.  Right now if the response is an array it defaults to building copies of binary terms to return.  This gets around memory management issues that come from using binary resources.