Note that when you construct a channel, such as a new
AMFChannel, you give a channel-id and an endpointURL to the
constructor. You can set the channel-id to null if you don't wish
to have the remote endpoints validate that you are contacting them
via the correct technology/type of Channel.