add coverage for sock_ready; remove dyninit() calls where useless