Add test handlers for TLS connection.