Revert "Enable p2p support"

This reverts commit 2c99aa0a050d0b0e05520d5dd966a500bda85eee.