Initial code
Use log.Printf to print incoming data
Print line before sending