fix for MIME4J-218

fixes https://issues.apache.org/jira/browse/MIME4J-218