Added client_del_connection functions. Patch by cras.