Add streaming socket functionality