Improve validation of content type in json-body

Custom MIME types should end with +json.
Characters following json MIME type should be optional.
Merge pull request #2 from dmcgillen/improve-json-body-mime-check

Improve validation of content type in json-body