Added handling for encoding subjectPrefix

This is a fix for issue #340
Merge pull request #342 from w3c/patch-340

Added handling for encoding subjectPrefix to prevent malformed mailto URI in SoTD.