set SO_REUSEADDR on UDP socket to support faster restart
Merge branch 'udp-reuse' into next
minGW-w64: fixing missing include in dclog.c

Signed-off-by: Rune K. Svendsen <runesvend@gmail.com>
use rand instead of random in dclog

random is only posix, creates problems with minGW-w64
use rand instead of random in stun.c

random created problems with minGW-w64
minGW-w64: solving libconfuse configure string problem

--host was specified instead of --build. It was wonking
on some systems, but it was not working on others
Revert "minGW-w64: solving libconfuse configure string problem"

a better solution is to use the correct host string. It is not "mingw32", but something with an A-B-mingw* format.

This reverts commit da07e079c192877ffecf879219d7198172e6e18c.
mingw32: the --build parameter is needed as well

config.guess is broken, so we should add the --build when --host is set :(
Add ipv6 support.
fix some socket bugs.
add some fixes
add test Makefile
remove binary test files
Cleaning ml.c
minor changes
introducing inet_functions test
fix some bugs
clean up
port stun structure in sockaddr_storage
fix annoying bugs