Add an optional hook for logging requests and responses
Merge pull request #4 from airbnb/log-request

Add an optional hook for logging requests and responses