Minor bug fixes.
Merge branch 'master' of https://github.com/serbanghita/http-client