Added request and response logging functionality
Merge pull request #2 from martega/logging

Added request and response logging functionality