Towards a relativistic self-consistent nucleon spectral function in the nuclear medium