Close connection on failure.
Use libcurl for URI escaping.
Implement HTTP request serialization.
Implement HTTP response deserialization.
Add tests for HttpConection and fix discovered bugs.