Use socket wrapper on shell