Sockets reset not in establishing sockets

When a RST is received, mark the socket as reset,
and exclude it from the sockets considered as
being currently established.

Signed-off-by: Christoph Paasch <christoph.paasch@gmail.com>
Merge branch 'master' into more_tests