Properly implemented the HttpFileExchanger with a unit test.