stream-device: Separate declaration in a separate header

Move public declaration (stream_device_connect) from char-device.h to a new stream-device.h. Add type declaration for StreamDevice. This allows to use the type outside the implementation file and makes it easier to extend the interface without changing char-device.h header.