Created socket class that will implement the actual RDT protocol