Fix: use socket fd and NOT sockaddr in accept

Major mistake in accept() which was checking the given sockaddr
structure instead of the given socket fd. The address structure passed
to accept is meant to be filled up by the accept function thus not
containing any usable data.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>