Problem: _send method doesn't nullify caller's reference

Solution: pass reference address properly to encode, so it
nullifies it when successful.