"@mozilla.org/observer-service;1", nsIObserverService.NS_IOBSERVERSERVICE_IID );
final nsIBinaryInputStream in = XPCOMManager.getInstance().newComponent( "@mozilla.org/binaryinputstream;1",
nsIBinaryInputStream.class );
nsIObserver httpObserver = new nsIObserver()
{
public void observe( nsISupports subject, String sTopic, String sData )
{
try
{