Patched key-check in register callbacks.

Added the proper arguments to initialize_connection.
Beginning to outline the contact list system.