performance improvement: replaced StringBuffer with StringBuilder
Start stop response char in ipc communication via std