Updated several functions and fixed GameSocket::rec_string().