[feature] add protocol and version into sphdr