Added connect() method for clients, simple communication demo