Added tests
Refactored code base, added first-byte support, added fully-loaded check, added hard timeouts
Refactored code base