Horsham man jailed for affray