http: add synchronous backend

"thread" backend is implemented by synchronous backend.