Python sender, java receiver