anchor.diff:          , name/1
           , host/1
           , port/1
  -        , cert/1
  +        , certdata/1
           , certfile/1
  -        , key/1
  +        , keydata/1
           , keyfile/1
           , type/1
           , http2_connection/1
  
positive.code: 
    TransportOpts = case type(Connection) of
      certdata ->
        Cert = cert(Connection),
        Key = key(Connection),
        [{cert, Cert}, {key, Key}];
      cert ->
        Certfile = certfile(Connection),
  
negative.code: port(#{apple_port := Port}) ->
    Port.
  
  -spec certdata(connection()) -> binary().
  certdata(#{certdata := Cert}) ->
    Cert.
  
  -spec certfile(connection()) -> path().
  certfile(#{certfile := Certfile}) ->
    Certfile.
  
  -spec keydata(connection()) -> keydata().
  keydata(#{keydata := Key}) ->
    Key.
  
  -spec keyfile(connection()) -> path().
  