transport: Add gtk-doc annotations to new internal API