I did that early too, killed a chicken and the town guards and citizens attacked me. I guess it goes back to that old saying, "them ain't your chickens!" Pretty much don't have your weapons drawn while in town and you'll be better off.
Level 38 now, 99 smithing.