Create a DownloadHandlerScript which allocates new buffers when passing data to callbacks.
public DownloadHandlerScript() { base.InternalCreateScript(); }