Move http-adapter to Factory (Fix #29)