Change to using enums for g_socket_new