mext add create socket and connect server