Fix Unix socket handling when the length is too large by trimming.
Fix Unix socket handling when the length is too large by trimming.

Okay claudio@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars