Refactor: Use whitespace more consistently in transport.c.
- Get rid of whitespace at the end of lines.
- Add or remove whitespace as appropriate between functions, blocks, and around casts.
- Combine short lines into longer ones were possible.
- Get rid of an unnecessary return at the end of a void function.