client listens for connections