Davis, William, Commissioner for repairing Rye harbour