Convert the network log backend to use socket API instead of net_context API. This allows the backend to be used also with socket offloading network drivers. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>