fixup to properly return outlen value and copy back from bounce_out if needed