I can relate to this a lot. It wasn't untill up to the last year that I started to get a hang of the whole socialising thing.
I'm still clueless about parts of it, like girls, still useless there, but I'm a lot better than I used to be in general.
I was always a bit nervous in social situations because people didn't always react well to me. It was always all or nothing with me. Either you get full pledged eat your brains weird/odd/randomness or quiet antisocial dude and most people prefer something inbetween.