Fixed an api inconsistency.
Fixed other api inconsistency.
Friends client id is now removed from the request received list when he is deleted.
Well this seems to be working
Clare case fix

Wot fix
Some work on TCP server done.
Fix shared/static settings when building vs. NaCl library

Make sure the shared lib build is really disabled when compiling vs.
NaCl:

moved settings before libtool initialization
fixed parameter name
Fix NaCl builds for *BSD

From what I see there is a difference between *BSD and Linux when
linking vs. toxcore which has been bulit vs. the NaCl library:

on Linux it only links if NaCl's object files (i.e. randombytes.o) is
present in the linker options, however on *BSD systems this will cause a
linking error, see:
https://github.com/Tox/toxic/issues/31#issuecomment-38224441

This commit makes sure that we do not add the NaCl object files to our
pkg-config settings on *BSD, but do add them on Linux.
Merge pull request #815 from jin-eld/nacl-fix-3

More NaCl related fixes
Why do it even care
Remove header
Merge pull request #817 from mannol1/master

Fixed cancel and added handling of the glare case
A bit more work on TCP server.

I'm going to start working more diligently on this tommorow, the last
week hasn't really been productive.
Basic TCP server stuff should be all done, started testing it.
TCP server testing in progress.
fix RTPHeader filling by zeros underflow

regression from 6a78e2e71c1471b89646a71a1adeb0529cfb73d4
Merge pull request #818 from maksqwe/rtp_header_fix

fix RTPHeader filling by zeros underflow
TCP server almost ready.
TCP server now has onion functionality.

All the IP/Port related structs now have __attribute__ ((__packed__))
TCP server now sends/handles ping packets.