Remove the dependencies to netstring and pcre. Replacing by Str