Make read/send strings const to fix compile error