Fixed issue where transport would be set to string type and xmlrpclib would fail calling a 'request' attribute
Edited and prettyfied. Some content added