add missing socket undefs