AMENDED AND RESTATED CREDIT AGREEMENT dated as of October 16, 2014 among FS Senior Funding LLC, as Borrower,