update socket and sock

Signed-off-by: Junwei Zhang <junwei.zhang@6wind.com>