Don't assume that we have middleware_options.
For Eureka-client we can assume them to be present but in other contexts they may not be around.