Allow DoLoop to be called even while no user request is pending.   Unlike the Windows implementation, our DoLoop eagerly initiates I/O between its internal buffers and the network, and we have to be ready to pump data when that completes.
Allow DoLoop to be called even while no user
request is pending.   Unlike the Windows implementation,
our DoLoop eagerly initiates I/O between its internal
buffers and the network, and we have to be ready to
pump data when that completes.

Also add debugging macros, but leave them disabled
until the next time somebody has to understand the state machine.

Fixes http://code.google.com/p/chromium/issues/detail?id=4061
Review URL: http://codereview.chromium.org/9152

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@4823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser