Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

min/max are defined in fi.h