Rough out of socketIO interface implementation