In memory mime sniffer without depencies