Adding MoIP gateway

Added the implementation by @guibernardino and the fixes as suggested in his pull request's comments (#1040).