Improve Content-Type parsing
Merge pull request #71 from tarcieri/refactor/content-type-parse

Improve Content-Type parsing