fixes in request, response; added session.py