Threaded buffered drop-in replacement for pyserial.Serial.