Just make sure that each message has its length as first few bytes, this way you can split the whole into single messages.
For example, suppose that you receive this 20 bytes message from your server:
(1) (2)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| 2 | 4 | 6 | 1 | 5 | 3 | 3 | 2 | 6 | 3 | 4 | 1 | 6 | 2 | 3 | 5 | 3 | 0 | 4 | 6 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
^ ^ ^ ^ ^ ^
- The first byte says that the first message has 2 bytes of data, so you can retrieve that message as bytes 1 and 2.
- Next you read byte 3 which tells you that the second message has only 1 byte of additional data (byte 4).
- The third and the fourth message have 3 bytes of data (as bytes 5 and 9 indicate), then there's a 2 bytes message and a 3 bytes one.