Peer.py and threading approach

Still way incomplete. Connecting between peers is possible, but chat
currently isn’t. Added a lot of interface stuff. Read the comments.