Added HTTP chunked encoding support
Refactored chunked encoding support after code review
- Avoid copying buffers when building HTTP chunks
- Simplify configuration by using an Option
- Treat chunked and unchunked messages in a more consistent way
Mainly syntaxic and cosmetic changes in HttpProtocol
Added mandatory HTTP headers in error responses to ensure compatibility with NLB
Merge branch 'master' of github.com:wajam/nrv into clement-nlb
fixed a bug where the very last token wouldn't be part of the ring (i.e. no percolation, no garbage collection, ...)
Fix conflicts
Merge pull request #220 from wajam/jn-max-token

fixed a bug where the very last token wouldn't be part of the ring
Cleanup remains of legacy replication API
Merge pull request #223 from wajam/manu-replication-legacy-cleanup

Cleanup remains of legacy replication API
Merge pull request #222 from wajam/clement-nlb

Added HTTP chunked encoding support
Prevent replication if slave has no log and store is not empty

When a slave has no transaction log, the replication  bootstrap from the begnining. If there are already some data in the slave store, there is something wrong that need to be investigated rather than bootstrapping again.
Remove dead code
Merge pull request #224 from wajam/manu-slave-nolog-consistency

Prevent replication if slave has no log and store is not empty
Merge branch 'master' into manu-zookeeper-sabotage
Increment a new sync error counter inestead of forcing all service members Down