Add socket streaming - Fixes #25