I think this should just be a regular RHOST option with the default set to the hostname 'ifconfig.me'. That way users could change it to something other than what you've hardcoded here, potentially to their own server providing the same interface.