ADD: support for Perfect Forward Security (patch by Michael Brunnbauer)