base/http - bugfixes