Socks Server implementation