Development code for Sockets provider

- This is an incremental devel code for Sockets provider.

poll() is likely more efficient here, since we only care about a single fd