Realised that mocking sockets was a bad idea