fix address streamed data
minor bugfixes
Merge pull request #325 from maraoz/bug/fix-address-socket

Bug/fix address socket