Socket.create constructor
Socket.create()
Creates the socket and returns the instance of the socket if already initialized you need to call connect method to connect to the server
Implementation
factory Socket.create() {
_instance = Socket._();
return _instance;
}