Transfers, Trade Taxes, and Endogenous Capital Flows: With Evidence from Sub-Saharan Africa