Implemented HardwareSerial and Stream

You should call setTimeout instead of having a copy of the contents.