Commit beginning of connection, need refractor all the code and create
ClientSocket interface