socks: fix env vars and usage message