FIxed the problem with feeding pickled data through a socket