applied priority queue changes to the TCP client too
fix memory leak
Merge branch 'JFreegman-memleak'
Merge branch 'split-video' of https://github.com/notsecure/toxcore
Fixed possible bug with TCP nonce not getting incremented.