add ability to debug webservice requests