Wiring Lilypad USB + ESP8266 Serial WiFi Module

Hi, I am trying to solve the following scenario: Lilypad USB connected to WIFI through ESP8266 Serial WiFi Module. http://arduino.cc/en/pmwiki.php?n=Main/ArduinoBoardLilyPadUSB http://www.seeedstudio.com/wiki/WiFi_Serial_Transceiver_Module

According to the wiki: I should connect to TX RX pins. None of them are present as "selectable pins", because they are built in.

This post Using LilyPad Arduino USB with LilyPad Xbee Shield talks about using SoftwareSerial, something that is new to me.

Could anyone explain how should I proceed with the wiring and if possible a sample sketch just to connect the lilypad usb with the WIFI module to my personal WIFI.

Thanks.

Here is a sample code I am testing:

#include <SPI.h>
#include <WiFi.h>

#include <SoftwareSerial.h>

 SoftwareSerial mySerial(10, 11); // RX, TX
 
void setup() {
   // initialize serial and wait for the port to open:
   Serial.begin(9600);
   while(!Serial) ;
  pinMode(10, INPUT);
  pinMode(11, OUTPUT);
  mySerial.begin(4800);

   // attempt to connect using WEP encryption:
   Serial.println("Initializing Wifi...");
   printMacAddress();

   // scan for existing networks:
   Serial.println("Scanning available networks...");
   listNetworks();
}

void loop() {
   delay(10000);
   // scan for existing networks:
  mySerial.listen();   
   if (mySerial.available())
     Serial.println("wifi shield connected");
   else
     Serial.println("no...");
   
   Serial.println("Scanning available networks...");
   listNetworks();
   

}

void printMacAddress() {
   // the MAC address of your Wifi shield
   byte mac[6];                     

   // print your MAC address:
   WiFi.macAddress(mac);
   Serial.print("MAC: ");
   Serial.print(mac[5],HEX);
   Serial.print(":");
   Serial.print(mac[4],HEX);
   Serial.print(":");
   Serial.print(mac[3],HEX);
   Serial.print(":");
   Serial.print(mac[2],HEX);
   Serial.print(":");
   Serial.print(mac[1],HEX);
   Serial.print(":");
   Serial.println(mac[0],HEX);
}

void listNetworks() {
   // scan for nearby networks:
   Serial.println("** Scan Networks **");
   byte numSsid = WiFi.scanNetworks();

   // print the list of networks seen:
   Serial.print("number of available networks:");
   Serial.println(numSsid);

   // print the network number and name for each network found:
   for (int thisNet = 0; thisNet<numSsid; thisNet++) {
     Serial.print(thisNet);
     Serial.print(") ");
     Serial.print(WiFi.SSID(thisNet));
     Serial.print("\tSignal: ");
     Serial.print(WiFi.RSSI(thisNet));
     Serial.print(" dBm");
     Serial.print("\tEncryption: ");
     Serial.println(WiFi.encryptionType(thisNet));
   }
}

And the output:

Initializing Wifi…
MAC: 0:0:0:0:0:0
Scanning available networks…
** Scan Networks **
number of available networks:0
no…
Scanning available networks…

The MAC of the wifi shield is not recognized. Is it ok the way I use the softwareserial?

UPDATE:
Following this tutorial : http://www.prometec.net/arduino-wifi/ I realized sometimes the RST pin should be used. So I tried it with my other arduino uno board and worked.
Still didn’t manage to make it run with the lilypad usb.