[4o6] external socket callback function will be added only if 4o6 is enabled