Fixed bugs in http client
Added unit test framework Catch and tests for HTTP client