Fix buffer overflow in chat server example

`message`, which contains at most 2048 bytes, was previously copied after a prefix into `message2`, which has a size of 2048 bytes, with no bounds checking. This could result in a stack overflow of `strlen("Server: ")` bytes.