The former journalist has an intimate knowledge of the Chinese legal system, one he earned in perhaps the hardest way possible: by being locked up.