Fix possible nullptr dereferences in toxav/msi.c
Comment out extra argument to sprintf
Merge branch 'tux3-nullptr-1'
Merge branch 'sprintf-extra-arg-1' of https://github.com/tux3/toxcore into tux3-sprintf-extra-arg-1
Included assert.h for Messenger/DHT.c
Merge branch 'master' of https://github.com/Jman012/toxcore into Jman012-master
Made av public header C++-enabled
Removed IRC references
Preparation work to make onion packets go through TCP.
Merge branch 'av-fix' of https://github.com/nurupo/InsertProjectNameHere into nurupo-av-fix
Remove some immediatly overwritten writes

Fix local variable being modified just before it goes out of scope

When memcpy-ing in a buffer, only memset the part of the buffer not modified by the memcpy, not the whole buffer

Also reorder the memset after the memcpy, to potentially avoid cache misses (NOT profiled)