Enable middleware injection apache/incubator-ripple#8