Created FakeConnection class to simulate a server