Plumbing through CURL return value
Minor UT/indentation fixes
Bracket fixes
Correcting comment
Apply code review comments - fix up commenting, clearer names and typedefs.
Merge pull request #203 from Metaswitch/http_get_code

{Reviewer: Matt} Use HTTP return code to indicate HSS failures