Massive over reaction OP, but I understand how you feel.
Teenagers are the most self absorbed people on the planet, they are generally incapable of seeing a situation from another point of view. So, he doesn't get why you are worried, simply because he hasn't experienced that worry himself. He will not give a second thought to you worrying all night before having to get up to work at a demanding job. Because he texted you and told you he was staying out, so as far as he's concerned you have nothing to worry about. He won't be thinking further than than that. Your mind is working overtime, his isn't, he's simply living in the moment.
He's on the cusp of adulthood, and peer pressure is immense. He would rather get a rollicking from you than being sneered at by his mates for being treated like a little kid with a curfew.
That is all there is to it.
You're not his friend by the way, you're his mum.
You feel hurt because you thought he would treat you more fairly, because you've got a cool 'me and my boy are best buddies' vibe going on. But really he's just proved like thousands of teens before and after him, that pushing away from parents, is a big part of growing up.
I wouldn't be too hard on him, I would go from the 'we need to know where you are so if there was an emergency at home we could contact you' angle. If he wants more freedom, which he should, make him aware of his part in giving the details you need next time.
Because there will be lots of 'next times' and your best chance of knowing as much as you need to regarding his safety starts with treating him like a young adult, making him aware of possibly dangers, and him understanding that you're not curbing his fun, you are responsible for his safety as much as you can be.
And good luck.