Allows options to be passed for remoting middlewares