src/connection.c: Delclare all local variables before using
src/connection.c: Add register_fallback method