Note: The plugin author must provide an instance to {GetURL,PostURL}() that implements both nsIPluginStreamListener and nsIHTTPHeaderListener. This instance is passed in through {GetURL,PostURL}()'s streamListener parameter. The browser will then QI this streamListener to see if it implements nsIHTTPHeaderListener.