A mocking server for socket applications