define HTTP/HTTPS macros