Move p2p code to a separate thread (by changing define in node.cpp)