// Extremely rudimentary URL parsing.
bool parse_url(const string &url, string *protocol, string *host, string *port, string *path)
{
// Extremely rudimentary URL parsing.
bool parse_url(const string &url, string *protocol, string *host, string *port, string *path)
{