libwbclient: added support for WBC_ID_TYPE_BOTH