Bug fixes to HTTP Session and Request