Set socket family to family of proxy when using proxy.
New congestion control algorithm.

This new congestion control algorithm uses the increase in size
of the send queue to regulate how fast it sends data.

When tweaked it should work better than the old one.
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.
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
Added function to check if we were only connected to LAN DHT peers.
Speeded up onion friend finding.
Added .sh ending to bootstrapd's init script
Fixes some build issues.
Merge branch 'nurupo-bootstrapd-fix'
Added tox_shell to testing.

tox_shell is a basic secure shell that can be used to control a
computer from any Tox client.

Just run tox_shell and make it add your Tox id.

It's very basic but it works.
Daily OS X fix.

Patch also fixes NetBSD and OpenBSD, but I can't test that.

<pty.h> is <util.h> on some BSDs.
Merge branch 'stal888-patch-6'
Fixed some gcc warnings.
Fix toxcore linkage on qnx