more conjestion control

needs testing
Merge branch 'net' of https://github.com/notsecure/ProjectTox-Core into notsecure-net