SECOND AMENDED AND RESTATED AGREEMENT OF LIMITED PARTNERSHIP OF BGC PARTNERS, L.P. Amended and Restated as of December 13, 20171