Adding debug output

Signed-off-by: parhamfh <parhamfh@kth.se>
Restructured messages and receives data in new format.

Now the picked data is wrapped by two lines of |===| placed on lines before and after the pickled data.

Signed-off-by: parhamfh <parhamfh@kth.se>