Add range to construct of curl adapter
Throw exception if reach the end of the string
Merge pull request #3 from willwashburn/master

Add ability to set range and throw exceptions when not enough range is set