WikiLeaks founder Julian Assange is set to accept a plea deal in his espionage trial with the U.S. justice department that will leave him free to return home to Australia after over a decade in exile.