network: fix network Connect() method parameters
audio: Remove unix socket support

Unix socket support is deprecated by Media API.
audio: Remove ALSA support

ALSA support depend on unix support that is now removed.
audio: Remove internal audio IPC

With unix socket and ALSA removed there is no longer any use for the
internal IPC.
audio: Remove local A2DP endpoints options

The local endpoints are no use without the internal IPC.
audio: Remove remaining references to Socket
TODO: Mark legacy audio IPC removal as done
sap-dummy: Use switch insted of if-else where applicable

This improves readiblity of what actions are performed on each state.
SAP: Use switch instead of if-else in sap_status_ind

It makes it easier to understand what actions are performed in each
server state.
SAP: Move SAP_DISCONNECTION_TYPE_CLIENT from sap.h to server.c

SAP_DISCONNECTION_TYPE_CLIENT is an implementation detail and is not
specified by SAP profile specification.
SAP: Don't append MaxMsgSize parameter to CONNECT_RESP unconditionaly

According to SAP 1.1 specification MaxMsgSize parameter of CONNECT_RESP
is conditional and should not be added for every status code. Add this
parameter only if status code is  "Error, Server does not support
message size" (see section 4.1.1 of SAP specification).

To avoid confusion maxmsgsize param is removed from sap_connect_rsp and
it is assumed that SAP driver is able to handle messages with size up
to SAP_BUF_SIZE bytes.
SAP: Introdue SAP_VDBG macro for verbose log messages

Some SAP operations (eg. APDU transfer) occurs very often even with
simple scenarios like subscribing to GSM network. This results in flood
of log messages. Since those messages are mostly usefull only when
developing SAP backend hide them after SAP_DEBUG flag.
SAP: Remove not needed NULL pointer checks from send_message

Both conn and buff are always passed as valid pointers. No need to
double check them.
SAP: Fix missing setting conn->io to NULL after unref

conn->io should be set to NULl after unref to avoid calling shutdown
and unref twice.
SAP: Use proper type instead of *void for disconnect_ind param

Use struct sap_connection as parameter type for clarity.
SAP: Rename server variable to sap_server

This is to avoid shadowing by local functions variables.
SAP: Make sap_error_rsp function static

This error message is used to reply to SAP protocol errors and it
should not be used by drivers as they don't have access to server
internal state machine. Messages passed to drivers are valid and
properly formatted so drivers shall use result code in response
messages to indicate error (section 4.11 of SAP specification).
SAP: Use sap_server instead of sap_connection as key for drivers

This is a preparation for fixing SAP server when multiple adapters are
present. This is to avoid having extra pointer from sap_connection to
its sap_server struture. Only one connection per server is allowed
anyway so using sap_server as key is safe.
SAP: Fix removing connection from server

NULL conn member of server structure passed to function instead of
static variable. This is to properly support multiple adapters.
Also rename sap_conn_remove to sap_server_remove_conn.
SAP: Fix server when multiple adapters are present

Remove static pointer used to keep track of registered server and
just pass allocated server as user data to io and DBus callbacks.

It is up to backend now if multiple adapters are supported or if
multiple connections are possible (one per adapter or one in total).