Implement SecurityHandler to send the lock icon status to DevTools.