Resonance model study of strangeness production in pp collisions