change order of http client middleware, fixes #100
back to snapshot