Add SharedPtr<HttpRequest> support in Lua.