Add support for client side encryption