Mark peer up when receiving a packet from it
Fix packet loss counting for restarting peers
Add logging and change all prints to log.debug
Minor cleanup
Add logging to requirements
.gitignore virtualenv