Fix error on request factory: always include scheme to constructed url