Commit 1: Deps.
Commit 2: The actual test.
Merge pull request #4 from dkorolev/master

Tested Mac's HTTP client with local POSIX HTTP server. All tests pass on Mac.