Simple frame for working with sockets in node