remove unused middleware and rack monkey patch that is no longer neccessary (fixed in rack 1.3, we are using 1.4.5)