added functionality to process a serial.Request and return a Target