update: fully support ipv6 connections.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
add: simple test case for ipv6.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>