Julian Assange agrees to a plea deal with US