Securing a proxy service by using certificate authentication and protecting the message