Integrating Overlay and Social Networks for Seamless P2P Networking