[esp8266] add tcp_write() method
[esp8266] free() function