add p2p2 support

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>