Exactly how to get it to forward packets is, of course, an entirely different question. Software NAT might be possible (but AFAICS not through the espconn API), but one would soon run out of RAM. Whether or not transparently bridging the two interfaces is possible at all (without low-level ROM modifications), I don't know.