Add debugging functions and code to get last request/response
Merge pull request #1 from lsproc/master

Add debugging functions and code to get last request/response