Whether you were born with an issue that contributed to having social challenges as a child, or your experiences in HS are causing your challenges today, it is something that I strongly suggest you focus on resolving if you want to be happy and live a fulfilled life. If people treated you this way, your brain can develop attachment disorders in order to prevent further psychological damage from occurring. You have just one life to live and there is no sense suffering through more than you have to.
Sorry I mixed up my acronyms there. What I was suggesting is group therapy. You have two options for it, one is a group therapy that meets weekly and is moderated/facilitated by a licensed therapist, and the other option is a men's group aka men's support group. The former costs money, the latter is free though some require or suggest a very small donation. Both may be a good place to begin breaking down the barriers that formed in your younger years, by talking about things with other people who aren't your friends and who you only see in the group. It could help you understand what others have gone through, share what you have gone through, and through that process help you learn to trust and connect more easily with people.
Asperger syndrome is on the autism spectrum, but there are varying degrees of it. People with Asperger syndrome generally don't rock or flap their hands. You may know or have met plenty of people with Asperger's and never realized it. Take a look at the wikipedia page for it. There are also free tests you can take online but these are not meant to be used as an official diagnosis - rather, through the questions they ask you, you'll start to get a really good feel for the characteristics and can start to get a sense for whether it could be a possibility, or if it's totally not you. Again, I'm not suggesting you have it, just throwing it out there as something to look into in case it may help you. I have a friend who has an extremely mild case of it and some of the things you say just reminded me of them, but that definitely doesn't mean you have it.