pkg/transport: change write size from 1MB -> 5MB

As we move to container-based infrastructure testing env
on travis, the tcp write buffer is more than 1MB. Change
the test according to the change on the testing env.
Merge pull request #1936 from xiang90/fix_test

pkg/transport: change write size from 1MB -> 5MB