Changed return type of (*Socket)SendMessage(...interface{}) from (error) to (int, error).