|#83 Implement sendFile methods taking result handlers

* Implement sendFile methods and add corresponding tests.
* Add missing tests for other sendFile methods.
* Compression tests were only enabling compression on the client, fixed tests so that when compression needs to be tested, both the server and the client are configured with compression.