Proxy: fixed do_write handling in previous commit.

As rightfully complained by MSVC, do_write variable was used uninitialized.
Correct fix is to set it's initial value based on event happened.


git-svn-id: svn://svn.nginx.org/nginx/trunk@5074 73f98a42-aea0-e011-b76d-00259023448c