Updated code based on the code review. Still work in progress
Update MIME_PARSER to use HTTP_MEDIA_TYPE.