added function SendOrDie to reduce redundant code
find PING str, so it defined in RFC as uppercase
reduce receive buffer size by 1 to always get null-terminated string