load all gateway functions
fix outgoing plugin outgoing_getgateway()