you must allocate request->LEN + 1 character. +1 is for '\0'