Transport over websockets and other fixes.

subj