def __init__(self, command, uri, postData, headers, client):
     self.command = command
     self.uri = uri
     self.postData = postData
     self.headers = headers
     self.client = client
     self.urlMonitor = URLMonitor.getInstance()
     self.responseTamperer = ResponseTampererFactory.getTampererInstance()
     self.HTMLInjector = HTMLInjector.getInstance()
     self.plugins_manager = ProxyPluginsManager.getInstance()
     self.isImageRequest = False
     self.isCompressed = False
     self.contentLength = None
     self.shutdownComplete = False
     self.plugins = self.plugins_manager.plugins