http library bug fix
Merge pull request #4 from Crosscheck/extended-features

http library bug fix