Certain meta-predicates like page/4 are defined in html_write.pl and used elsewhere (for instance, in http_header.pl). They are explicitly imported in http_head but not exported in html_write.
This results in socket connection errors when you run in a server in SWI Prolog with autoloading disabled:
ERROR: [Thread httpd@6363_4] http_header:status_page_hook/3: Unknown procedure: http_header:page/4