Fork of http://code.google.com/p/mimeparse/