Accreting, highly magnetized neutron stars at the Eddington limit: a study of the 2016 outburst of SMC X-3