Added a delay between the kick packet and socket close.

This should have helped #31, but the client disagrees.
Updated to the latest Core.