add function of socket module
fixed bug of socket module
add blocked of socket module