Make the example more complete with transport configuration.

See issue #61