Handle mimetype params on input Content-Type header

This resolves an issue where FRAPI doesn't like `Content-Type: application/json;charset=utf-8`. The header is completely valid, and this is how Firefox sends it's XHR requests; currently breaking FRAPI.