P2P communication over bluetooth and wireless for iOS