Add support for CCCP

Change-Id: Ic18b212b6996a50c5c7dbc65c6a144fbb74954c6
Reviewed-on: http://review.couchbase.org/30047
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>