refactor: Remove unused code from utils and tests

Since Iaca6fd3e6ed3c64ab3ca22817ad461479ecfa189, _verify_http_connection
is no longer used anywhere. Its removal also exposes two more utils
functions that are also not used anywhere.

Change-Id: I88423b89f30ef2c4cb4738bbee1246e019796d73
2 files changed