Run application handlers on stream error.
Patch from Owen Taylor that fixes LM-104 where application handlers weren't run on stream error.
It also fixes a problem where a variable is incorrectly overwritten.
Makefile
Makefile.in
lm-change-password
lm-register
lm-send-async
lm-send-sync
test-http-proxy
test-lm
test-tunnel
*.swp