withTransport

Sets the Transport used by the server to communicate with clients. This must be called before build, or an error is thrown.