Timing of primary syphilis treatment and impact on the development of treponemal antibodies: a cross-sectional clinic-based study