socks support implementiation...

Signed-off-by: Jack <jack.wgm@gmail.com>