I agent is not running in valid session, redirect user to login.

- Issue #54
- Now using pycurl for AsyncHTTPClient for better performance
- Needed some refactorings
- Added dependency to python-pycurl package and pycurl module