How host defends against S. pneumoniae capsule?
According to the two papers listed below, this is mostly done by a neutrophilic inflammatory response. The response is regulated by mechanisms of the innate immune system and is mediated by receptor like TLR2, TLR4 and SIGN-R1.


Role of Dectin-2 in the host defense against Streptococcus
pneumoniae infection
Dectin-2-dependent NKT cell activation and serotype-specific antibody
production in mice immunized with pneumococcal polysaccharide
vaccine.


There are a few papers which go deeper (reviews, so you will probably have to go through the reference lists):


Mechanisms of host defense against infection with Streptococcus
pneumoniae.


This paper mentions specific antibodies later on in the reaction and finally the opsonization by immune cells.

These two papers tal specifically about pneumolysin:


Pneumococcal virulence factors and host immune responses to them.
Pneumolysin as a vaccine and drug target in the prevention and
treatment of invasive pneumococcal disease.