Remove no longer used socket fields.