Monkey Boy,
You don't mention what state or city you live in or the time of day that this incident happened. Although I would probably guess the evening sometime.
You mention that you crossed the street to where a couple of people were sitting, so I would imagine it wasn't to bad of an area.
Number one, you should always be aware of your surroundings and try to avoid putting yourself at risk.
As far as devices for protection, nothing beats a handgun for personal protection.
Now with most of the states having some sort of CCW laws for the honest citizen, handguns have become very popular.
I must say that if you do decide to carry a weapon such as a handgun, you have to put in the time and effort not only to decide which weapon suites your situation but also in the actual use of it.
You must become proficient with it.
There are many sources available to research and many sources for actual training.
You must also take into consideration are there going to be kids in the home, etc. ( Safety )
I'm a firm believer in that people should be able to protect themselves, but I can't stress training, training and more training if that's the route you want to go.
It's ( being armed is a very big responsibility ) that cannot be taken lightly.
You will have to learn the laws the govern the use of a firearm by a citizen for their self protection or that of a loved one.
I've been a Firearms Instructor for Police only for a number of years and I've been a member of different shooting clubs throughout these years. I can say that I've never met a nicer bunch of people. That's the other good thing if you decide to go the firearms route, you'll not only become proficient if you do it right and join a club but also have a great time.
Mace and other products I really don't recommend for personnel protection, you wouldn't want these devices in a deadly encounter.
And that is really what I'm talking about ...a deadly encounter. It can happen in any city, suburb or location at any time.
But as I said, be aware of your surroundings, while walking, driving even whats going on in and around your neighborhood. Thats the best advise I can give.
Tommyd1