Read data in one gulp for server

- Otherwise we have bottlenecks as there is quite a bit of overhead for
  processing the data several small chunks at a time

Change-Id: I4e90d97274c78c128e2b34910abf62602919896c
Reviewed-on: http://review.couchbase.org/27438
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Use more detailed connection status

Change-Id: I48a32167402ce3ef144b306846ac68420f519c0e
Reviewed-on: http://review.couchbase.org/27440
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix conversion error for call 'cbc view -c ...'

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

Change-Id: I4a45f8989b1f477e2a3f6f430f2d9902aa8ef047
Reviewed-on: http://review.couchbase.org/27765
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
[http] New features and error handling

- Provide for cleaner HTTP "Cancellation" handling:
    Make implicit states to indicate if callbacks need to be invoked,
    and how to invoke them.

- Don't associate http requests with server instances:
    There is very little correlation between a memcached server and the
    views it conducts with respect to our code. Making all requests be
    parented by the instance simplifies the internal structure

- Allow timeouts for view requests

Change-Id: I19e1467595a3e0559d9d84bc87cb1044f9508d63
Reviewed-on: http://review.couchbase.org/27494
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>