Niners QB displays confidence and a growing chemistry with tight end Vernon Davis