added setOptions method to request.
Merge pull request #79 from taylorotwell/master

added setOptions method to request.