Fixing socket overflow

Same problem as the previous one, except this time when returning data from the sandbox instead of sending data to it:
When you want to return a lot of data from the sandbox you need to make sure that you received all data, so I added again a separator char to check for the end.