Implemented negotiation workaround for Firefox.