Probing the gluon structure of the proton with HERA