[mms_task_encode] Don't encode empty subject

Empty subject is even worse than no subject at all because it may make the recipient think that it has a meaningful subject when in fact it doesn't.