Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

I would simplify this and only worry about returning a single error at a time.