core: do not force weechat_quit to 0 in main loop, so that a /quit issued before main loop is working
api: fix connection to servers with hook_connect on OS X (bug #38496)