Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

Compile time option to define lock seems unnecessary.