event loop in a peer thread to handle messages.
updated README with a sample session.