Messaging Gateway and support for Perfect Forward Secrecy on TLS