The Secure Socket API: TLS as an Operating System Service