Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

typedefs are evil and should never be used just to save keystrokes