set vp length

...otherwise len==0 and the VP isn't sent to the client