Moves logging out of transport.js
Merge remote-tracking branch 'origin/master'