Arduino to ESP8266 over SPI

Hi,

Could anyone point me in the direction of a tutorial or example code of using the ESP8266 as a wifi adapter for an Arduino using the SPI protocol? The only examples I can fine seem to resolve around the ESP8266 being the master, when I just need it to act as a slave to the Arduino (nano).

Many thanks

Matt