part of #83
add p compatibility flag (plaintext agreement!)
fix #83