CCBC-169 Handle 302 redirects in HTTP

Change-Id: I27c3e0d7014425727f86eb777fe5f02711f82497
Reviewed-on: http://review.couchbase.org/29853
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>