modify module sdstring : change sdstring_len() & sdstring_avail() to
inline function;
modify module sdstring :
  - add sdstring_cstr() to access the raw string buffer
  - add sdstring_search_index() to search a pattern starting with given
    position