Hmmmm, this is a very intereting module indeed, but it still has lots of implementation to be done: it does not support UDP (even though the POD's idea shows the way) and it is not a complete solution because the only thing you get from that module is an open socket (a single function, the constructor, is implemented).
I cannot believe that nothing like I am looking for has ever been done! For sure I am not the first developer wanting to do something like this, and I hate like merlyn
"to reinvent the wheel".
More wisdom appreciated!