Couchbase PHP client library

Plug leaks reported by debug-mode php/zts