Fix: change TSOCKS_LOOPBACK bitness

This changes the loopback constant to be in host byte order and use
htonl() when needed in network byte order.

With this, tests pass on powerpc.

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