nit: double joining. `url = ['/', host].concat(pathname).join('/');`?