Fixed some problems with transports. Still some concurrency issues on multiple receives thou.