export SimpleSocket constructor.