we require ruby 1.9.x or later
very relaxed string to media type conversion