Small refactoring: Moved helper function into semilattice_http_app_t class