socket: support sync connect
socket: support async_connect