Hontvari Jozsef's patch to preserve the charset used to encode the subject. Also copied javadoc revisions from HEAD.
New patch from Hontvari Jozsef. Use reflection only at the time of the class initialization. Enhance the heuristic a bit, it considers the case when the first words were not encoded, only the next ones.