introducing socket support

Introducing socket support