A Colchester man who launched a violent attack after being refused a cigarette and a beer has been jailed.