Add test for Jersey's handling of invalid Content-Type headers, fixes #483