Curteis, Jeremiah, Commissioner for repairing Rye harbour