He might just be a prickly cat, but don't encourage it. He also has a lot of mental growing up left to do and might settle down as he ages.
Ignore him. I've known lots of cats whose temperaments improved drastically when they were affection-deprived (also, if you aren't touching him, he can't bite you and doesn't have the chance to get used to doing it). Case in point--I've got a rescued cat living in my guest bathroom right now who bit several kennel employees (I work for a vet) when they tried to get her out to clean her cage. She doesn't like loud noises or sudden movements. So I brought her home, locked her in the bathroom, and went it twice a day to check her litterbox, food, and water, but didn't try to do anything with her. Now she wants all kinds of attention.
It also worked wonders on my grandmother's Abyssinian, who had the temperament of a rabid Chow-Chow until she got sick and had to be hospitalized for a month. She was putty in our hands the rest of her life.