fix transport header get method

1. fix pointer cast
2. set transport header by kernel version
3. add note