Julian Assange refused bail as court hears he is a 'flight risk'