add support other middleware implementation for Goji, next http.Handler and next http.Handler