core: misc fixes and changes for transport.
Issue #793
docs: add documentation for the new transport mechanism.
Issue #793