I think "The man who I thought was thoroughly honest proved to be a swindler" is acceptable. But my book says the answer should be "whom"
The use of nominative "whom" (as in “persons whom it is foreseeable are likely to...”)