Transient retry handler. Unit test WIP.
Added retry handler to http client factory.
Fixes a handler pipeline syntax error.
Merge pull request #329 from couchbase/issue-320

Issue 320