The dynamics of the relativistic Kepler problem