Added mailcomposer.encodeHeaderValue, docs and test