Doesn't compile with Arduino 1.0.6

ESP8266.cpp:647: error: invalid conversion from 'uint8_t*' to 'char*'

Changed buffer type and added missing right curly bracket.