Nuclei near and at the proton dripline