Fix p2poutbound local connection logic
Fix getheaders termination condition on server
Dont double-relay from trustedP2P