Fixed origin check when on protocol default port
Fixed origin check when on protocol default port