Add HTTP Nowhere mode for 4.0 branch

Hoping this can get into the next stable release. This is a simple backport of the HTTP Nowhere work in the devel branch to the stable branch.

TODO: Add UI to toggle HTTP Nowhere mode on Android, but that can be a separate ticket.