Connection & Session Layer Class