i guess a small version of mocksocket is handy