3 things:
1. "escapedsed"  <= spelling?

2. Lack of proper quoting as above:
freenet_dir_escapedsed="$(echo "$freenet_dir" | sed -e 's|/|\\\\/|g')"

3. "But "\\/" because sed-escaped, "\\\\/" because bash "
The purpose of single-quotes ' in bash is to NOT support ANY escaping.
Try the following to see what sed will receive:
echo 's|/|\\\\/|g'