Add macros.h with useful call

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add log.c/.h containing loggin calls from old source

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add config-file.c/.h containing config file parser

Calls in this file has been copied from the old source. Nothing was
changed except some renaming of data structure to respect name spacing.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add utils.c/utils.h with calls from old code

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add compat.c/.h defining a compat tsocks mutex

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Reengineer logging and remove old show_msg

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add torsocks.c/.h with logging initialization

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add basic interface for libc overload

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

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add basic connection object interface

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