Implemented and tested the PUT method. Added a buffer handler for
responses which makes the internals return the response body as Buffer
into the response argument of the completion callback.