Illumos 4047

This branch consists of an illumos patch stack encompassing issues 3875, 3834, 4047 and a yet-unnumbered issue discovered following 4047.

These patches should help various problems encountered during ```zfs recv``` operations.