First prototype of multiple http backend
Use cURL follow-redirects instead of manual looping forever. Closes #18. Closes #5.
Merge pull request #19 from Xeoncross/multiple-http-backend

Use cURL follow-redirects instead of manual looping forever.
Remove code duplication and add unit tests
Add callback functions for curl to read body and headers + abort on large body
Remove duplicate code