Man denied bail over cop attack