erlang socks5 proxy, inspired by yueyoum/make-proxy