TCP and UDP Network Connection Support

Added support for TCP and UDP socket connections alongside existing USB serial. The UI now dynamically shows the active connection type (USB, TCP, or UDP). Improved data flow control with smart buffering and added wakeup delay sequences to prevent hardware communication errors.