better workaround for http-kit/http-kit#70