JStringPunycode methods strip # (fragment) element from URL (Fixes #4362)