Simple RFC 6838 media type parser and formatter