Fix p2poutbound local connection logic