Cannot subclass from bad_key exception.
Check if key scheme is IP-based.
Check key_ actually non-null.
Keep track if key_initiator is early enough to cancel and add cancel()
function stub.
Implement primary_status_changed() handler.