Some thread safety related fixes to TCP connections in net_crypto.

Added a recursive mutex to fix possible thread issues when the A/V
thread sends data at the same time as the main thread.
Merge remote-tracking branch 'upstream/master'
Testing merge.
Removed useless line.
Renamed tox_bootstrap_daemon into tox-bootstrapd
Made init.d script work with systemd
Made possible to run the daemon under its own user
Renamed files for less confusion
Fixed daemon taking long time to stop
Fixed some warnings
Merge branch 'bootstrapd-update' of https://github.com/nurupo/InsertProjectNameHere
Merge remote-tracking branch 'upstream/master'
merging..