add support for application/atom+xml and like content types that might begin with application/ and end with +xml

Line 475 is the only real addittion. The rest is just better readability for your boolean expression.
Personally, I've started using jsoup for atom feeds, and it threw a content type exception so I patched it.
Line 474 is actually redundant now, so perhaps that should be axed as well.