The spectral slope and escape fraction of bright quasars at z ˜ 3.8: the contribution to the cosmic UV background