Do not depend on `url-parse` for extracting hosts from urls

This fixes for #1939. Tests have been added to test/el-get-issue-1939.el