Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

You can use structure assignment in place of memcpy