Changed compatibility to Java 6, moved cookie to ExchangeSpecificParameters