Implement MIME sniffing.
Not ready for merge, unit test failures must be investigated.
Added mock sniffer task and fixed logic bug
foreward errors
clean up loop in sniffer task, prevent hanging
Addressing issue of receiving on closed channel
Fixed test_bad_scheme