Your degree of decency, understanding, and wisdom will play a role in this. Strictly speaking, talking to strangers is OK if you're an adult. It's important to create the contacts you could need at any time. It will help if you use caution, though, as others can act maliciously.