A tiny SOCKS5 proxy in C++