Add socket activation for get-gid api.