delete test.c and related code

It's not needed any more.
add LDFLAGS to Makefile

It's used to test cross compile.
add hint to function getaddrinfo

Embedded library uClibc won't return all supported sock types if sock
type is not specified, instead it will set ai->ai_socktype to zero,
which will break my program! Let hint demands that we only need tcp
socket, since udp socks5 isn't supported by now.
add test.c back

Actually we need a test file. :-)
add missing include macro
update log

Print address related info when starting program.