tidy up code in transport provider which makes it use the rabbit cipher