Added simple logging and tried it on the bind() and socket() calls at init_networking.