"Hooker: From General Hooker, famous for keeping prostitutes with him."

The Oxford English Dictionary has a quotation from 1845 using the term

But the same site said Gen. Hooker's proclivities (sic) made usage much more widespread.