Kept getting TypeError: Data must not be unicode
Kept getting TypeError: Data must not be unicode

It seems that twisted is not so friendly with unicode objects. This fix stopped the error. For further information on this error, visit http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#WhydontTwistedsnetworkmethodssupportUnicodeobjectsaswellasstrings
mvasilkov/kb,mvasilkov/kb