[feature/socket] connect use host instead of ip