core: test fix, http: minor fixes