Removed sockets for now, plus a memory leak, I think.