MB-9315: support xdcr with ssl

Change-Id: I103ae2c05dd8b82df18586685341d1af8385801b
Reviewed-on: http://review.couchbase.org/30454
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>