Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

we will  want this non-blocking eventually