plain http middleware for go