Fix SocketAdapter stream transformer