Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

The *_free_list functions are the same as a normal list function.