Add initialization and cleanup functions for Winsock