- added some logging to HttpRequest.
- minor improvements.