2.2.1: FEATURES_OK.

Based on MST's ideas, but a bit simpler.

Signed-off-by: Rusty Russell <rusty@au1.ibm.com>