added peer input thread stuff
Merge branch 'master' of github.com:epicpants/P2P