http-kit and cleanup