Electron-acoustic solitons in a weakly relativistic plasma