Just go ahead with StringTransport since it only involves changing the encoding helper function.

refs #7665


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/banana-remove-duplication-7665@43229 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb