Added protection for spurratic socket connection loss. Sockets that are uninitilized for game cannot use game utility functions now.