[mobile] Adding socket application interface code from OpenBSC.
treecdc80fa97cb41f0c2522a2733b885f853c5f886d
drwxr-xr-x - doc
drwxr-xr-x - include
drwxr-xr-x - src