Ed Miliband is tearing up the script to become the UK's most formidable foreign secretary in decades