Support binary response bodies in _performSecureRequest

Change the response handling in _performSecureRequest so it can handle
binary data types in the response body. If it detects a response with
a content-type that looks binary (by default, image/*, audio/*, and
video/* types), it stores the body in a Buffer rather than an UTF-8
string.

Closes #133.