UK man jailed over tweets glorifying IS