Allow data size to be set when creating profinet request headers.

Write requests carry data, so the data size will need to be set
accordingly.