Fixed origin check when on protocol default port