Mime Type Parsing

Proper Mime type parsing to support AVI and other formats.