Send buf.raw instead of buf to fit the test files.

The refered test cases are (int issue #5):
* trial_one_user_login_udp_client_test.py
* trial_retransmit_one_user_login_udp_client_test.py