Protect against transport state listener callback unregistered itself
Fix indentation/tabs issues
Merge pull request #6 from Metaswitch/issue175

[Reviewer Matt] Dependency for fix to sprout issue 175 - protect against transport state listener callback unregistered itself