Session layer: rearranged hooks and finished compression module
Merge branch 'session-layer' of github.com:XIA-Project/xia-core into session-layer