More robust low-level socket transmissions.