Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

# if 0 is a programmer's way of telling the maintainer to delete me now  :)