The easiest way is to get a proto shield that extends the ICSP pins through the proto shield. Like this one: