Sinatra wrapped around Titan threaded HL7 input and output