Fixed Xgetsockname() bug
Merge branch 'develop' into session-layer