Moved sock structs in xtransport from stack to heap
Merge branch 'api-click-rework' into session-layer