Use valid ENVs in cmd/backend_repl.go
Use ListenAndServeTLS