Requests 1.x compatibility

Bug: 962582
Change-Id: I2674fd3aaadde30ea798f16cdbaf8df6c28df623
Merge "Requests 1.x compatibility" into develop