Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

This needs to return count of entries read and take count in place of len param