Essex batter Jordan Cox gave the England selectors another reminder with a century as champions Surrey were made to toil on the opening day of the Rothesay County Championship.