MIME4J-302 Parser should avoid multiple calls to "toLowerCase"

I was surprised MIME4J parsing spends 18% of its time calling toLowerCase on header names. This represents 12% of allocated memory.

By holding the lowerCased name as part of the field name, and doing lazy initialization on it we can get this down to 6%.
8 files changed