Added extended initialization function set_connection_params