fixes #565 - undefined response when unicode URL