Add testing framework for socketIO

Consider this a request for comment. I plan to come back to this later today for improvements. I haven't tested any of the contexts yet.