Convert QuotedPrintable class to namespace
Fix memory leaks: do not allocate results on heap