Removed requests dependency. Fixed compatibility issues with python 2.6