add setsockopt of identity in function ipcam_base_service_connect