Client: Add NewConnection function
Client: Add comments