Extract client-only parts of init_keys()
init_keys() is one of the functions that's reachable from way too many functions. This appears to be happening because ip_address_changed can call init_keys(). But really, it only wants to call the client-only parts of init_keys(). So splitting them out into another function would help reduce the blob size.
See also #16695 (moved) and #16762 (moved).