Fixes #294.

Adds quite a bit of new error handling code.
Most importantly, no longer uses the
HttpCompletionOptions overload of SendAsync.
Also adjusts some logging level of a few
trace statements.
Merge pull request #295 from couchbaselabs/issue-294

Fixes #294.