code: function proxy(func){
      'use strict';
  
      // Returns a middleware
      return function (kontx, next){
          func(kontx.args).then(
              function(payload){
                  kontx.payload = payload;
                  next();
              },
              function(err){
                  next(err);
              }
          );
      };
  }
docs: Proxy function will take a assets function and wrap it with a middleware.
  @param func
  @returns {Function}