Update Middelware type to resemble http packages HandleFunc, adding ServeHTTP method.