Egyptians protest after man beaten by security